<template>
  <div>
    <div>
      <h4>认知心理</h4>
      <el-row type="flex" justify="space-around">
        <el-col>
          <el-button type="primary">打开《Mmse评估表》</el-button>
        </el-col>
        <el-col :span="6">
          <div>
            <span>时间定向 </span>
            <el-input v-model="pgForm.pjspdb_ot_shijiandx" readonly style="width: 50%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>地点定向 </span>
            <el-input v-model="pgForm.pjspdb_ot_didiandx" readonly style="width: 50%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>即刻记忆 </span>
            <el-input v-model="pgForm.pjspdb_ot_jikejy" readonly style="width: 50%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>计算 </span>
            <el-input v-model="pgForm.pjspdb_ot_jisuan" readonly style="width: 50%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>延迟回忆 </span>
            <el-input v-model="pgForm.pjspdb_ot_yanchihy" readonly style="width: 50%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>命名 </span>
            <el-input v-model="pgForm.pjspdb_ot_mingm" readonly style="width: 50%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>语言流畅 </span>
            <el-input v-model="pgForm.pjspdb_ot_yuyanlc" readonly style="width: 50%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>阅读理解 </span>
            <el-input v-model="pgForm.pjspdb_ot_yuedulj" readonly style="width: 50%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>执行命令 </span>
            <el-input v-model="pgForm.pjspdb_ot_zhixingml" readonly style="width: 50%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>造句 </span>
            <el-input v-model="pgForm.pjspdb_ot_zaoju" readonly style="width: 50%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>画图 </span>
            <el-input v-model="pgForm.pjspdb_ot_huatu" readonly style="width: 50%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>总分 </span>
            <el-input v-model="pgForm.pjspdb_ot_zongfen" readonly style="width: 50%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
      </el-row>
      <el-row type="flex" justify="space-around">
        <el-col :span="6">
            <span>受损程度分级 </span>
            <el-select v-model="pgForm.pjspdb_ot_sscd" placeholder="请选择" style="width: 50%;">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
        </el-col>
        <el-col :span="6">
          <span>意识状态 </span>
          <el-select v-model="pgForm.pjspdb_ot_yszt" placeholder="请选择" style="width: 50%;">
            <el-option
              v-for="item in options2"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
        <el-col :span="6">
          <span>理解能力 </span>
          <el-select v-model="pgForm.pjspdb_ot_ljnl" placeholder="请选择" style="width: 50%;">
            <el-option
              v-for="item in options3"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
        <el-col :span="6">
          <span>配合程度 </span>
          <el-select v-model="pgForm.pjspdb_ot_phcd" placeholder="请选择" style="width: 50%;">
            <el-option
              v-for="item in options3"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
      </el-row>
      <el-row type="flex" justify="space-around">
        <el-col :span="11">
          <span>心理阶段</span>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.pjspdb_ot_xljd">
              <el-checkbox label="否认"></el-checkbox>
              <el-checkbox label="愤怒"></el-checkbox>
              <el-checkbox label="烦躁"></el-checkbox>
              <el-checkbox label="期望"></el-checkbox>
              <el-checkbox label="抑郁"></el-checkbox>
              <el-checkbox label="承受"></el-checkbox>
              <el-input
                placeholder="备注"
                style="width: 50%"
                v-model="pgForm.pjspdb_ot_xljdinput">
              </el-input>
            </el-checkbox-group>
          </div>
        </el-col>
        <el-col :span="11">
          <span>情绪控制能力</span>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.pjspdb_ot_qxkz">
              <el-checkbox label="正常"></el-checkbox>
              <el-checkbox label="尚可"></el-checkbox>
              <el-checkbox label="差"></el-checkbox>
              <el-checkbox label="强哭"></el-checkbox>
              <el-checkbox label="强笑"></el-checkbox>
              <el-checkbox label="其他"></el-checkbox>
              <el-input
                placeholder="备注"
                style="width: 50%"
                v-model="pgForm.pjspdb_ot_qxkzinput">
              </el-input>
            </el-checkbox-group>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "cognitive_psychology2",
  title: "认知心理",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm: {
        pjspdb_ot_shijiandx: '',
        pjspdb_ot_didiandx: '',
        pjspdb_ot_jikejy: '',
        pjspdb_ot_jisuan: '',
        pjspdb_ot_yanchihy: '',
        pjspdb_ot_mingm: '',
        pjspdb_ot_yuyanlc: '',
        pjspdb_ot_yuedulj: '',
        pjspdb_ot_zhixingml: '',
        pjspdb_ot_zaoju: '',
        pjspdb_ot_huatu: '',
        pjspdb_ot_zongfen: '',
        pjspdb_ot_sscd:'',
        pjspdb_ot_yszt:'',
        pjspdb_ot_ljnl:'',
        pjspdb_ot_phcd:'',
        pjspdb_ot_xljd:'',
        pjspdb_ot_xljdinput:'',
        pjspdb_ot_qxkz:'',
        pjspdb_ot_qxkzinput:'',
      },
      options1:[{
        value:'正常',
        label:'正常',
      },{
        value:'轻度',
        label:'轻度',
      },{
        value:'中度',
        label:'中度',
      },{
        value:'重度',
        label:'重度',
      },],
      options2:[{
        value:'嗜睡',
        label:'嗜睡',
      },{
        value:'昏迷',
        label:'昏迷',
      },{
        value:'正常',
        label:'正常',
      }],
      options3:[{
        value:'消极',
        label:'消极',
      },{
        value:'一般',
        label:'一般',
      },{
        value:'积极',
        label:'积极',
      }]
    }
  },
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin: 10px 0;
}
.el-checkbox-group{
  padding: 10px 20px;
}
.el-checkbox{
  display: block;
  margin-bottom: 15px;
}
</style>
